package com.dream21th.common.enums;

import lombok.Getter;
import lombok.Setter;

public enum RtnEnum {

    ERRROR("500", "系统错误"),
    OK("0000", "操作成功"),
    NOT_AUTH("401","未认证"),
    AUTH_DENY("403","权限不足"),
    LOGIN_ERROR("500","用户名或者密码错误"),
    CAPTCHA_ERROR("500","请输入正确的验证码"),
    SIGN_ERROR("500","签名认证错误"),
    PASSWORD_PARSE_ERROR("500","密码解析失败"),
    WEB_ADMIN_ERROR("500","调用户服务出错"),
    GENERAT_CODE_ERROR("1000","生成模板代码出错")
    ;

    @Getter
    @Setter
    public String code;

    @Getter
    @Setter
    public String message;

    private RtnEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
